.rename-dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 300px;
    height: 200px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    overflow-y: hidden;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
}
.rename-dialog-content {
    position: fixed;
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translate(-50%, -50%);
}
.rename-dialog-cancel {
    background-color: #ccc;
    margin: 0 25px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: transform 0.3s ease;
}
.rename-dialog-ok {
    background-color: #4fb558;
    color: white;
    margin: 0 25px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: transform 0.3s ease;
}
.rename-dialog-cancel:hover, .rename-dialog-ok:hover {
    transform: scale(1.2);
}
.rename-dialog-content input[type="text"] {
    font-family: 'en', 'zh', 'Times New Roman', sans-serif;
    font-weight: bold;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 1.5;
    width: calc(100% - 32px);
    box-sizing: border-box;
    margin-bottom: 20px;
    outline: none;
    &:focus {
        border-color: #5c9cff;
        box-shadow: 0 0 5px rgba(92, 156, 255, 0.5);
    }
    &::placeholder {
        color: #aaa;
    }
    transition: border-color 0.3s, box-shadow 0.3s;
}